<include file="Shop:sp_header" />
<include file="Shop:sp_left" />
				  <div class="joinin-pay">
					<table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
					  <thead>
						<tr>
						  <th colspan="6">公司及联系人信息</th>
						</tr>
					  </thead>
					  <tbody>
						<tr>
						  <th>公司名称：</th>
						  <td colspan="5">{$joinin.company_name}</td>
						</tr>
						<tr>
						  <th>公司所在地：</th>
						  <td>{$joinin.company_address}</td>
						  <th>公司详细地址：</th>
						  <td colspan="3">{$joinin.company_address_detail}</td>
						</tr>
						<tr>
						  <th>公司电话：</th>
						  <td>{$joinin.company_phone}</td>
						  <th>员工总数：</th>
						  <td>{$joinin.company_employee_count}&nbsp;人</td>
						  <th>注册资金：</th>
						  <td>{$joinin.company_registered_capital}&nbsp;万元 </td>
						</tr>
						<tr>
						  <th>联系人姓名：</th>
						  <td>{$joinin.contacts_name}</td>
						  <th>联系人电话：</th>
						  <td>{$joinin.contacts_phone}</td>
						  <th>电子邮箱：</th>
						  <td>{$joinin.contacts_email}</td>
						</tr>
					  </tbody>
					</table>
					<table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
					  <thead>
						<tr>
						  <th colspan="2">营业执照信息（副本）</th>
						</tr>
					  </thead>
					  <tbody>
						<tr>
						  <th>营业执照号：</th>
						  <td>{$joinin.business_licence_number}</td>
						</tr>
						<tr>
						  <th>营业执照所在地：</th>
						  <td>{$joinin.business_licence_address}</td>
						</tr>
						<tr>
						  <th>法定经营范围：</th>
						  <td colspan="20">{$joinin.business_sphere}</td>
						</tr>
						<tr>
						  <th>营业执照<br>
							电子版：</th>
						  <td colspan="20">
							<if condition="$joinin.business_licence_number_electronic neq ''">
							<a nctype="nyroModal" href="{$joinin.business_licence_number_electronic}" target="_blank"> <img src="{$joinin.business_licence_number_electronic}" alt="" > </a>
							<else/>
							<a nctype="nyroModal" href="{$joinin.organization_code_electronic}" target="_blank"> <img src="{$joinin.organization_code_electronic}" alt="" > </a>
							</if>						  
						  </td>
						</tr>
					  </tbody>
					</table>

					<table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
					  <thead>
						<tr>
						  <th colspan="2">结算账号信息：</th>
						</tr>
					  </thead>
					  <tbody>
						<tr>
						  <th>银行开户名：</th>
						  <td>{$joinin.settlement_bank_account_name}</td>
						</tr>
						<tr>
						  <th>公司银行账号：</th>
						  <td>{$joinin.settlement_bank_account_number}</td>
						</tr>
						<tr>
						  <th>开户银行支行名称：</th>
						  <td>{$joinin.bank_name}</td>
						</tr>
						<tr>
						  <th>支行联行号：</th>
						  <td>{$joinin.bank_code}</td>
						</tr>
						<tr>
						  <th>开户银行所在地：</th>
						  <td>{$joinin.bank_address}</td>
						</tr>
					  </tbody>
					</table>

					<form id="form_paying_money_certificate" action="" method="post" enctype="multipart/form-data">
					  <input name="state" type="hidden" value="{$joinin.joinin_state}">
					  <input name="member_id" type="hidden" value="{$joinin.member_id}">
					  <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
						<thead>
						  <tr>
							<th colspan="2">店铺经营信息</th>
						  </tr>
						</thead>
						<tbody>
						  <tr>
							<th>卖家账号：</th>
							<td>{$joinin.seller_name}</td>
						  </tr>
						  <tr>
							<th>店铺名称：</th>
							<td>{$joinin.store_name}</td>
						  </tr>
						  <tr>
							<th>店铺等级：</th>
							<td>{$joinin.sg_name}（开店费用：{$joinin.sg_info} 元/年）</td>
						  </tr>
						  <tr>
							<th>开店时长：</th>
							<td>{$joinin.joinin_year} 年</td>
						  </tr>
						  <tr>
							<th>店铺分类：</th>
							<td>{$joinin.sc_name}（开店保证金：{$joinin.sc_bail} 元）</td>
						  </tr>
						  <tr>
							<th>应付总金额：</th>
							<td>{$joinin.paying_amount} 元</td>
						  </tr>
						  <tr>
							<th>经营类目：</th>
							<td><table border="0" cellpadding="0" cellspacing="0" id="table_category" class="type">
								<thead>
								  <tr>
									<th>分类1</th>
									<th>分类2</th>
									<th>分类3</th>
									<th>比例</th>
								  </tr>
								</thead>
								<tbody>
																															 <foreach name="sc_class" item="vo">
									<tr>
										<td>{$vo.gc_name}</td>
										<td></td>
										<td></td>
										<td>{$vo.commis_rate} %</td>
									</tr>
									</foreach>
								</tbody>
							  </table></td>
						  </tr>
						  <tr>
							<th>审核意见：</th>
							<td colspan="2" style="color:red;">{$joinin.joinin_message}</td>
						  </tr>
						</tbody>
					  </table>
					 
					  <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
						<tbody>
						  <tr>
							<th>上传付款凭证：</th>
							<td> <a nctype="nyroModal" href="{$joinin.paying_money_certificate}" target="_blank"> <img src="{$joinin.paying_money_certificate}" alt="" > </a>
							<in name="joinin.joinin_state" value="20,31">
							<input name="pic" type="file">
							</in>
							  <span></span></td>
						  </tr>
						  <tr>
							<th>备注：</th>
							<td><textarea name="paying_money_explain" rows="10" cols="30">{$joinin.paying_money_certificate_explain}</textarea>
							  <span></span></td>
						  </tr>
						</tbody>
					  </table>
					  
					</form>
					<div class="bottom">
					<in name="joinin.joinin_state" value="20,31">
					<button id="btn_paying_money_certificate" href="javascript:;" class="btn" style="margin:10px;padding:3px 10px;">提交</button>
					</in>
					</div>
				  </div>
			</div>
		</div>
<include file="Shop:sp_footer" />
<script type="text/javascript">
    $(document).ready(function(){

        $('#form_paying_money_certificate').validate({
            errorPlacement: function(error, element){
                element.nextAll('span').first().after(error);
            },
            rules : {
                paying_money_certificate: {
                    required: true
                },
                paying_money_certificate_explain: {
                    maxlength: 100 
                }
            },
            messages : {
                paying_money_certificate: {
                    required: '请选择上传付款凭证'
                },
                paying_money_certificate_explain: {
                    maxlength: jQuery.validator.format("最多{0}个字")
                }
            }
        });

        $('#btn_paying_money_certificate').on('click', function() {
			//alert(11);
            $('#form_paying_money_certificate').submit();
        });

    });
</script>
	</body>

</html>